package com.ruoyi.house.domain.Dto.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author DarkClown
 * @date 2024-09-18 18:47
 * @project_name bootLikeHome
 * @parem
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReqAtbHouse {
    private static final long serialVersionUID = 1L;

    /** 房屋Id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 小区Id */
    @Excel(name = "小区Id")
    private Long plotId;

    @TableField(exist = false)
    private String plotName;

    /** 房屋简介 */
    @Excel(name = "房屋简介")
    private String houseName;

    /** 房屋面积 */
    @Excel(name = "房屋面积")
    private BigDecimal homeArea;

    /** 卧室数量 */
    @Excel(name = "卧室数量")
    private Long bedroom;

    /** 客厅数量 */
    @Excel(name = "客厅数量")
    private Long drawing;

    /** 卫生间数量 */
    @Excel(name = "卫生间数量")
    private Long restroom;

    /** 朝向Id */
    @Excel(name = "朝向Id")
    private Long orientationId;

    /** 期望售价 */
    @Excel(name = "期望售价")
    private BigDecimal homePrice;

    /** 平方价格 */
    @Excel(name = "平方价格")
    private BigDecimal squarePrice;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long isExamine;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long isPutaway;

    /** 0整租，1合租 */
    @Excel(name = "0整租，1合租")
    private Long leaseType;

    /** 省 */
    @Excel(name = "省")
    private String city1;

    private String name1;

    /** 市 */
    @Excel(name = "市")
    private String city2;

    private String name2;

    /** 区 */
    @Excel(name = "区")
    private String city3;

    private String name3;

    /** 地址经度 */
    @Excel(name = "地址经度")
    private String addressLongitude;

    /** 地址纬度 */
    @Excel(name = "地址纬度")
    private String addressLatitude;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String address;
}
